/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * FrameCarreteras.java
 *
 * Created on Jul 1, 2010, 10:15:54 AM
 */

package com.acme.gui;

import javax.persistence.EntityManager;

/**
 *
 * @author alejandro
 */
public class FrameCarreteras extends javax.swing.JFrame {

    /** Creates new form FrameCarreteras */
    public FrameCarreteras() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        mainPanel = new javax.swing.JPanel();
        panelCarreteraa1 = new com.acme.saul.PanelCarreteraa();
        panelTramo1 = new com.acme.rogelio.PanelTramo();
        panelUbicacion1 = new com.acme.zenaida.PanelUbicacion();
        panelEmpleado1 = new com.acme.rogelio.PanelEmpleado();
        panelCaseta1 = new com.acme.erika.PanelCaseta();
        panelPoblado1 = new com.acme.hector.PanelPoblado();
        panelZonaRiesgo1 = new com.acme.rogelio.PanelZonaRiesgo();
        menuBar1 = new com.acme.gui.MenuBar();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        mainPanel.setLayout(new java.awt.CardLayout());
        mainPanel.add(panelCarreteraa1, "CARRETERAS");
        mainPanel.add(panelTramo1, "TRAMOS");
        mainPanel.add(panelUbicacion1, "UBICACIONES");
        mainPanel.add(panelEmpleado1, "EMPLEADOS");
        mainPanel.add(panelCaseta1, "CASETAS");
        mainPanel.add(panelPoblado1, "POBLADOS");
        mainPanel.add(panelZonaRiesgo1, "Z. RIESGO");

        getContentPane().add(mainPanel, java.awt.BorderLayout.CENTER);

        menuBar1.setCardPanel(mainPanel);
        menuBar1.setPreferredSize(new java.awt.Dimension(100, 19));
        getContentPane().add(menuBar1, java.awt.BorderLayout.NORTH);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            @Override
            public void run() {
                new FrameCarreteras().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel mainPanel;
    private com.acme.gui.MenuBar menuBar1;
    private com.acme.saul.PanelCarreteraa panelCarreteraa1;
    private com.acme.erika.PanelCaseta panelCaseta1;
    private com.acme.rogelio.PanelEmpleado panelEmpleado1;
    private com.acme.hector.PanelPoblado panelPoblado1;
    private com.acme.rogelio.PanelTramo panelTramo1;
    private com.acme.zenaida.PanelUbicacion panelUbicacion1;
    private com.acme.rogelio.PanelZonaRiesgo panelZonaRiesgo1;
    // End of variables declaration//GEN-END:variables

}
